export interface Goods {
    id: number
    title: string
    description: string
    price: number
    createTime: string
    userId: number
}

export interface OtherDataIf {
    title: string,
    description: string,
    page: number, // 页面
    count: number, // 总条数
    pageSize: number // 每一页展示的条数（显示几条）
}

export class GoodsData {
    list: Goods[] = []
    otherData: OtherDataIf = {
        title: "",
        description: "",
        page: 1,
        count: 0, // 默认条数为0
        pageSize: 10 // 默认每页10条数据
    }
}